.cm-my-input-container {
  position: relative;
  .cm-icon {
    position: absolute;
    right: 6%;
    top: 36px;
  }
  .icon-question {
    position: absolute;
    font-size: 40px;
    right: 5%;
    top: 12px;
  }
  .cm-input {
    margin: 0 40px;
    display: block;
    padding: 8px 60px 8px 30px;
    border: 2px solid @color-ashy;
    border-radius: 8px;
    height: 66px;
    width: 82%;
    margin: 0 auto;
    &:focus {
      outline: none;
      border-color: @color-primary;
    }
    &.cm-input-width { // 自定义输入框宽度 %
      width: 50%;
      margin-left: 2.3%;
    }
  }
}

.cm-icon {
  box-sizing: border-box;
  border: 10px solid;
  border-color: transparent;
  border-top-color: #6E6E6E;
  height: 20px;
  width: 20px;
}

.cm-absolute-btn-box {
  width: 30%;
  padding: 30px 0;
  text-align: center;
  background-color: @color-primary;
  border-radius: 8px;
  position: absolute;
  right: 3%;
  bottom: 0;
  color: #fff;
}

// 钩号
.cm-tick-box {
  border: 2px solid @color-secondary;
  border-top-width: 0;
  border-right-width: 0;
  height: 8px;
  width: 20px;
  transform: rotate(-45deg);
  // hide the tick style
  &.cm-tick-box-hide {
    border-color: #fff;
  }
  &.-hide {
    border-color: #fff;
  }
}

// 等腰直角三角形，直角在右边，[ps: 直角处有`border-radius`]
.cm-right-angle-trangle-box {
  box-sizing: border-box;
  height: 22px;
  width: 22px;
  border: 14px solid @color-primary;
  border-left-color: transparent;
  border-bottom-color: @color-primary;
  border-top-color: transparent;
  border-right-color: @color-primary;
  border-bottom-right-radius: 8px;
}

.cm-footer-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  background-color: #165073;
  color: #fff;
  font-size: 24px;
  & > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    i {
      font-size: 40px;
      padding-bottom: 8px;
    }
    padding: 16px 0;
    &.cm-active-tab {
      background-color: @color-primary;
    }
  }
}

.cm-bottom-btn {
  text-align: center;
  font-size: 36px;
  background-color: @color-secondary;
  color: #fff;
  padding: 20px 0;
  position: fixed;
  width: 100%;
  bottom: 0;
}

.cm-top-banner {
  text-align: center;
  font-size: 32px;
  color: #fff;
  background-color: @color-secondary;
  padding: 24px 0;
}

.cm-row-text {
  border-bottom: 1px solid @color-ashy;
  font-size: 32px;
  color: #6E6E6E;
  display: flex;
  background-color: #fff;
  & > span {
    text-align: center;
    padding: 20px 0;
    flex: 1;
  }
  .cm-active-title {
    color: @color-primary;
    border-bottom: 4px solid;
  }
}

.cm-line-text {
  background-color: #F8F8F8;
  color: #CCCCCC;
  font-size: 24px;
  text-align: right;
  padding: 18px;
}

.cm-row-box {
  border-bottom: 2px solid @color-ashy;
  color: @color-font-primary;
  display: flex;
  justify-content: space-between;
  padding: 20px 30px;
  background-color: #fff;
  i {
    // todo
  }
  .cm-left-box {
    // todo
    span {
      padding-left: 8px;
    }
  }
  .cm-right-box {
    span {
      font-size: 32px;
      color: @color-red;
      padding-right: 6px;
    }
  }
}

.cm-calendar-container {
  padding-bottom: 16px;
  border-bottom: 1px solid @color-ashy;
  background-color: @color-background;
  .am-carousel-wrap-dot-active > span {
    background-color: @color-primary !important;
  }
  .am-carousel-wrap-dot > span {
    background-color: @color-ashy;
  }
  // calendar component style
  .cm-calendar-box {
    display: flex;
    flex-direction: column;
    padding: 4px 0 20px 0;
    font-size: 24px;
    & > span {
      background-color: @color-primary;
      padding: 8px 20px;
      align-self: flex-start;
      border-radius: 8px;
      color: #fff;
      margin-left: 2px;
    }
    .cm-a-week {
      display: flex;
      color: #6E6E6E;
      & > span {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 8px 0;
      }
      .cm-active-text {
        color: #7C79BA;
      }
    }
    .cm-date {
      color: #6E6E6E;
      display: flex;
      & > span {
        flex: 1;
        display: flex;
        justify-content: center;
        padding: 8px 0;
      }
      .cm-active-date {
        background-color: @color-primary;
        color: #fff;
        border-radius: 50%;
        width: 44px;
        line-height: 44px;
        text-align: center;
      }
    }
  }
}

// main button style
.cm-main-btn {
  background-color: @color-secondary;
  font-size: 36px;
  color: #fff;
  text-align: center;
  padding: 3% 0;
  margin: 0 4%;
  border-radius: 8px;
}

.cm-flex-container {
  display: flex;
  flex-direction: column;
}

.cm-hint-message-box {
  font-size: 28px;
  display: flex;
  justify-content: space-between;
  padding: 18px 22px;
  background-color: #fff;
  border-bottom: 2px solid @color-ashy;
  & > span {
    color: @color-font-primary;
  }
  .cm-else {
    color: @color-primary;
  }
}

.cm-half-circle {
  background-color: @color-background;
  height: 40px;
  width: 20px;
  &.cm-left-circle {
    border-radius: 0 40px 40px 0;
  }
  &.cm-right-circle {
    border-radius: 40px 0 0 40px;
  }
}

.cm-tab-switch-box {
  border-bottom: 2px solid @color-ashy;
  display: flex;
  font-size: 32px;
  color: #6E6E6E;
  background-color: #fff;
  & > span {
    flex: 1;
    text-align: center;
    padding: 28px 0;
    &.cm-active {
      color: @color-primary;
      border-bottom: 4px solid;
    }
  }
}

.cm-captcha-box {
  position: relative;
}

.cm-single-line-box {
  border-bottom: 2px solid @color-ashy;
  display: flex;
  justify-content: space-between;
  padding: 20px 36px;
  background-color: #fff;
  & > span {
    font-size: 32px;
    &:first-child {
      color: @color-font-primary;
    }
    &:last-child {
      color: @color-font-secondary;
    }
  }
}

.cm-carousel-children {
  font-size: 24px;
  padding: 10px 0 10px 18px;
  border-bottom: 2px solid @color-ashy;
  & > span:first-child {
    background-color: @color-primary;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    & + span {
      color: @color-font-primary;
      padding-left: 20px;
    }
  }
}

.cm-general-input {
  border: 2px solid @color-ashy;
  margin: 0 32px 28px;
  border-radius: 8px;
  .am-input-control {
    width: 88%;
    input {
      border: 1px solid transparent;
      width: 100%;
    }
  }
}

.cm-input-add-on {
  &.InputAddOn {
    display: flex;
    margin-bottom: 1.5em;
    .InputAddOn-field,
    .InputAddOn-item {
      border: 1px solid rgba(147, 128, 108, 0.25);
      padding: 0.5em 0.75em;
      &:first-child {
        border-radius: 2px 0 0 2px;
      }
      &:last-child {
        border-radius: 0 2px 2px 0;
      }
    }
    .InputAddOn-item {
      background-color: rgba(147, 128, 108, 0.1);
      color: #666666;
      font: inherit;
      font-weight: normal;
    }
    .InputAddOn-field {
      flex: 1;
    }
  }
}

// 子弹头
.cm-bullet {
  border: 2px solid pink;
  width: 200px;
  height: 100px;
  border-top-right-radius: 100px 50px;
  // 第一个值表示水平半径，第二个值表示垂直半径
  border-bottom-right-radius: 100px 50px;
}

// 圆
.cm-circle {
  @circle-color: #000;
  width: 30px;
  height: 30px;
  border: 1px solid @circle-color;
  border-radius: 15px;
  background-color: #000;
  // 左半圆
  &.-semi-left {
    border: none;
    border-left: 15px solid @circle-color;
  }
  &.-semi-right {
    border: none;
    border-right: 15px solid @circle-color;
  }
  &.-semi-top {
    border: none;
    border-top: 15px solid @circle-color;
  }
  &.-semi-bottom {
    border: none;
    border-bottom: 15px solid @circle-color;
  }
}